projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c4ad1f
)
Make the fontchooser dialog come up in a reasonable size
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 9 Aug 2011 14:13:58 +0000
(16:13 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 15 Aug 2011 22:57:57 +0000
(18:57 -0400)
This is not a perfect solution; we really just want to set
a nice default size, but GTK+ does not make that easy.
gtk/gtkfontchooser.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfontchooser.c
b/gtk/gtkfontchooser.c
index 63cbbd50f6c7e74a5a3bc317aca86a7a19dc40b3..cdf13849f3411c946ad246cd2ddd8338fa7ee7a6 100644
(file)
--- a/
gtk/gtkfontchooser.c
+++ b/
gtk/gtkfontchooser.c
@@
-573,6
+573,7
@@
gtk_font_chooser_init (GtkFontChooser *fontchooser)
GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
GTK_SHADOW_ETCHED_IN);
+ gtk_widget_set_size_request (scrolled_win, 400, 300);
gtk_container_add (GTK_CONTAINER (scrolled_win),
priv->family_face_list);